#!/bin/bash

iptables -I INPUT -s 100.100.2.136/32 -j ACCEPT
iptables -I OUTPUT -d 100.100.2.136/32 -j ACCEPT
iptables -I INPUT -s 100.100.2.148/32 -j ACCEPT
iptables -I OUTPUT -d 100.100.2.148/32 -j ACCEPT
iptables -A INPUT -s 100.64.0.0/10 -j DROP
iptables -A OUTPUT -d 100.64.0.0/10 -j DROP
iptables -A OUTPUT -d 182.92.0.0/17 -j DROP
iptables -A OUTPUT -d 47.246.103.0/25 -j DROP
iptables -A OUTPUT -d 106.11.224.0/19 -j DROP
iptables -A OUTPUT -d 59.110.128.0/17 -j DROP
iptables -A OUTPUT -d 163.181.35.138 -j DROP
rpm -e aliyun_assist
systemctl stop cloudmonitor.service
rm -rf /usr/local/aegis/*
pkill -f AliYun
ps aux | grep -v '\[' | grep -i aliyun


